package com.dongpl.module.sysUser.vo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 前后台交互 - 注册页面用户对象
 */
@Data
public class RegisterUser implements Serializable {

    private static final long serialVersionUID = 7411994455045047828L;

    @NotNull(message = "用户名不能为空")
    private String username;

    @NotNull(message = "密码不能为空")
    private String password;

    @NotNull(message = "确认密码不能为空")
    private String pass;

}
